home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / gnome-vfs-2.0 / libgnomevfs / gnome-vfs-resolve.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-05-01  |  1.6 KB  |  42 lines

  1. /* gnome-vfs-resolve.h - Resolver API
  2.  *
  3.  * Copyright (C) 2004 Christian Kellner
  4.  *
  5.  * The Gnome Library is free software; you can redistribute it and/or
  6.  * modify it under the terms of the GNU Library General Public License as
  7.  * published by the Free Software Foundation; either version 2 of the
  8.  * License, or (at your option) any later version.
  9.  
  10.  * The Gnome Library is distributed in the hope that it will be useful,
  11.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  13.  * Library General Public License for more details.
  14.  
  15.  * You should have received a copy of the GNU Library General Public
  16.  * License along with the Gnome Library; see the file COPYING.LIB.  If not,
  17.  * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  18.  * Boston, MA 02111-1307, USA.
  19.  */
  20.  
  21. #ifndef GNOME_VFS_RESOLVE_H
  22. #define GNOME_VFS_RESOLVE_H
  23.  
  24. #include <libgnomevfs/gnome-vfs-result.h>
  25. #include <libgnomevfs/gnome-vfs-address.h>
  26.  
  27. G_BEGIN_DECLS
  28.  
  29. typedef struct GnomeVFSResolveHandle_ GnomeVFSResolveHandle;
  30.  
  31. GnomeVFSResult gnome_vfs_resolve              (const char              *hostname,
  32.                                       GnomeVFSResolveHandle  **handle);
  33. gboolean       gnome_vfs_resolve_next_address (GnomeVFSResolveHandle   *handle,
  34.                                       GnomeVFSAddress        **address);
  35. void           gnome_vfs_resolve_reset_to_beginning
  36.                                               (GnomeVFSResolveHandle   *handle);
  37. void           gnome_vfs_resolve_free         (GnomeVFSResolveHandle   *handle);
  38.  
  39. G_END_DECLS
  40.  
  41. #endif /* ! GNOME_VFS_RESOLVE_H */
  42.